import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from "axios";
Vue.prototype.$http = axios

import "@/style/resets.css";
// import "@/font/index.scss";
// 全局方法挂载
import { Thematiclayer } from '/public/mapconfig';
Vue.prototype.Thematiclayer = Thematiclayer


import _global from "@/until/global"; // 引入模块
Vue.prototype.GLOBAL = _global; // 挂载到Vue实例上面

// import ElementUI from 'element-ui';
// Vue.use(ElementUI);
import "element-ui/lib/theme-chalk/index.css";


// eCharts组件
import eChartFn from "@/components/infowindows-model/Chart/index";
import ChartPanel from "@/components/infowindows-model/Chart/index.vue";
Vue.component(ChartPanel.name, ChartPanel);
Vue.prototype.$eChartFn = eChartFn;

import 'video.js/dist/video-js.css';

// 工具方法库
import _ from 'lodash';
Vue.prototype._ = _;

import {
  Tree,
  Button,
  Select,
  Option,
  FormItem,
  Form,
  Input,
  Slider,
  Col,
  Row,
  Radio,
  RadioGroup,
  RadioButton,
  Checkbox,
  CheckboxButton,
  CheckboxGroup,
  Table,
  TableColumn,
  Popover,
  DatePicker,
  Message,Dialog,
  Pagination,
  MessageBox,
  
} from "element-ui";
Vue.use(Form);
Vue.use(Button);
Vue.use(Select);
Vue.use(Option);
Vue.use(FormItem);
Vue.use(Tree);
Vue.use(Input);
Vue.use(Slider);
Vue.use(Col);
Vue.use(Row);
Vue.use(Radio);
Vue.use(RadioGroup);
Vue.use(RadioButton);
Vue.use(Checkbox);
Vue.use(CheckboxButton);
Vue.use(CheckboxGroup);
Vue.use(Table);
Vue.use(TableColumn);
Vue.use(Popover);
Vue.use(DatePicker);
Vue.use(Dialog);
Vue.use(Pagination);


Vue.prototype.$Message = Message
Vue.prototype.$confirm = MessageBox.confirm;
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
